import reuqest from './request'


// 获取推荐中的轮播图数据
export const getBanner = () => (
  reuqest('/banner')
)

// 获取推荐中的热门推荐数据
export const getHotRecommends = limit => (
  reuqest('/personalized', {
    params: {
      limit
    }
  })
)

// 获取推荐中的热门推荐数据
export const getNewAlbums = limit => (
  reuqest('/top/album', {
    params: {
      limit
    }
  })
)


export const getTopList = idx => (
  reuqest('/top/list', {
    params: {
      idx
    }
  })
)